﻿using System;
using System.Collections.Generic;

namespace Test30.Cmd
{
    class Class3
    {
        public Class3()
        {
            var l = new List<string>{ "1","3","3","2","3","4","5"};
            for (int i = l.Count-1; i >=0; i--)
            {
                if (l[i] == "3")
                    l.Remove(l[i]);
            }
            Console.WriteLine(l.Count);
        }

    }
}
